package com.tbit.uqbike.object.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.tbit.uqbike.annos.Excel;
import lombok.experimental.Accessors;

/**
 * @Author: chen
 * @Description: 站点统计
 * @Date: 创建于 17:13 2020/3/18
 */
@Accessors(chain = true)
public class StatPark {
    @Excel(name = "日期")
    private String name;
    /**
     * 金额
     */
    @Excel(name = "总额")
    @ExcelProperty(value = "订单收入总金额(元)", index = 6)
    private Integer money;
    /**
     * 次数
     */
    @Excel(name = "总数")
    @ExcelProperty(value = "订单总数", index = 5)
    private Integer total;
    /**
     * 分区id
     */
    private Integer regionId;
    /**
     * 分区name
     */
    @Excel(name = "分区名称")
    @ExcelProperty(value = "分区名称", index = 1)
    private String regionName;

    /**
     * 车辆数
     */
    @Excel(name = "车辆数量")
    @ExcelProperty(value = "车辆总数", index = 2)
    private Integer machineNum;

    /**
     * 投放车辆数
     */
    @Excel(name = "投放车辆数")
    @ExcelProperty(value = "投放车辆数", index = 3)
    private Integer putInMachineCount;

    /**
     * 产生订单车辆数
     */
    @Excel(name = "产生订单车辆数")
    @ExcelProperty(value = "产生订单车辆数", index = 4)
    private Integer haveOrderCount;

    /**
     * 订单车辆率
     */
    @Excel(name = "订单车辆率")
    @ExcelProperty(value = "订单车辆率", index = 7)
    private Double orderRate;

    public StatPark() {
    }

    public StatPark(String name, Integer machineNum) {
        this.name = name;
        this.machineNum = machineNum;
    }

    public StatPark(Integer total, Integer money, String name) {
        this.total = total;
        this.money = money;
        this.name = name;
    }

    public StatPark(String name, Integer money, Integer total, Integer regionId) {
        this.name = name;
        this.money = money;
        this.total = total;
        this.regionId = regionId;
    }

    public StatPark(Integer total, Integer money, String name, Integer regionId, String regionName) {
        this.name = name;
        this.money = money;
        this.total = total;
        this.regionId = regionId;
        this.regionName = regionName;
    }

    public StatPark(Integer regionId, String regionName) {
        this.regionId = regionId;
        this.regionName = regionName;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getMachineNum() {
        return machineNum;
    }

    public void setMachineNum(Integer machineNum) {
        this.machineNum = machineNum;
    }


    public Integer getPutInMachineCount() {
        return putInMachineCount;
    }

    public void setPutInMachineCount(Integer putInMachineCount) {
        this.putInMachineCount = putInMachineCount;
    }

    public Integer getHaveOrderCount() {
        return haveOrderCount;
    }

    public void setHaveOrderCount(Integer haveOrderCount) {
        this.haveOrderCount = haveOrderCount;
    }

    public Double getOrderRate() {
        return orderRate;
    }

    public void setOrderRate(Double orderRate) {
        this.orderRate = orderRate;
    }

    @Override
    public String toString() {
        return "StatPark{" +
                "total=" + total +
                ", money=" + money +
                ", name='" + name + '\'' +
                ", regionId='" + regionId + '\'' +
                ", regionName='" + regionName + '\'' +
                '}';
    }
}
